﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TechnicalDataSheet.aspx.cs"
    Inherits="client_TechnicalDataSheet" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Technical Data Sheet</title>
    <link href="../styles/client.css" rel="stylesheet" type="text/css" />
    <link href="../styles/lytebox.css" rel="stylesheet" type="text/css" media="screen" />

    <script src="../javascripts/lytebox.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager EnablePartialRendering="true" ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="content_area">
        <h2>
            Technical Data Sheet
        </h2>
        <div id="status_wrapper">
            <h3>
                <asp:Label ID="MachineNameLabel" runat="server" Style="font-size: medium">
                </asp:Label>
            </h3>
            <div class="form_box1">
                <table id="selectedtable" runat="server">
                    <tr>
                        <td class="label1">
                            Select Components:
                        </td>
                        <td>
                            <asp:DropDownList ID="SelectComponent_DropDownList" AutoPostBack="true" runat="server"
                                OnSelectedIndexChanged="Component_changed" DataTextField="ComponentName" DataValueField="Componentid"
                                CssClass="DropDownList">
                                <asp:ListItem>Any</asp:ListItem>
                                <asp:ListItem>Choose Components</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:UpdatePanel ID="upnl" runat="server">
                                <ContentTemplate>
                                    <asp:CheckBoxList ID="ComponentsCheckBoxList" runat="server" CssClass="CheckBoxList">
                                    </asp:CheckBoxList>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="SelectComponent_DropDownList" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="Get_Button" runat="server" Text="Get DataSheet" OnClick="GetDataSheet"
                                CssClass="buttons" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="save" runat="server" Text="Submit Edit" OnClick="Button1_Click" CssClass="buttons" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="form_box1">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvFoo_RowDataBound"
                    ShowHeader="False">
                    <Columns>
                        <asp:TemplateField HeaderText="Attributes" SortExpression="Attributes">
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox1" ReadOnly="true" runat="server" OnTextChanged="TextBox_TextChanged"></asp:TextBox>
                                <asp:HiddenField ID="HiddenField1" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Values" SortExpression="Values">
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox_TextChanged"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
